package com.fz.service.merchant;

import com.fz.common.ResponseEntity;
import com.fz.dto.merchant.merRole.MerRoleAdd;
import com.fz.dto.merchant.merRole.MerRoleMenuDto;
import com.fz.dto.merchant.merRole.MerRoleQuery;
import com.fz.dto.merchant.merRole.MerRoleUpd;
import com.fz.vo.merchant.merMenu.MerMenuVo;
import com.fz.vo.merchant.merMenu.MerRoleMenuTreeVo;
import com.fz.vo.merchant.merRole.MerRoleVo;

import java.util.List;

public interface MerRoleService {
     ResponseEntity<MerRoleMenuTreeVo> findMerRoleList(int pageNum, int pageSize, MerRoleQuery merRoleQuery) throws Exception;

     ResponseEntity<List<MerMenuVo>> findMerMenuById(int roleId) throws Exception;

     ResponseEntity<List<MerRoleVo>> findMerRoleSelect(MerRoleQuery merRoleQuery) throws Exception;

     ResponseEntity addMerRole(MerRoleAdd merRoleAdd) throws Exception;

     ResponseEntity updateMerRole(MerRoleUpd merRoleUpd) throws Exception;

     ResponseEntity saveMerRoleMenu(MerRoleMenuDto merRoleMenuDto) throws Exception;
}
